package com.source.lightfowl.barcodeMachineRepair.dao;

import com.source.lightfowl.barcodeMachineRepair.pojo.MachineScrap;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.math.BigInteger;

/**
 * 数据访问接口
 * @author Administrator
 *
 */
public interface MachineScrapDao extends JpaRepository<MachineScrap, BigInteger>,JpaSpecificationExecutor<MachineScrap>{

    Page<MachineScrap> findAll(Pageable pageable);

}
